package com.zwb.demo.easyweb;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;


/**
 * 程序启动类
 * @author zwb
 */
@SpringBootApplication
@EntityScan(basePackages = "com.zwb.demo.easyweb.modules.*")
@EnableJpaRepositories(basePackages = "com.zwb.demo.easyweb.modules.*")
public class EasyWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(EasyWebApplication.class, args);
    }

}
